import 'package:flutter/material.dart';
import 'counter_bloc_demo.dart';


class BlockDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CounterProvider(
      bloc: CounterBloc(),
      child:Scaffold(
        appBar: AppBar(
          title:Text('RxDartDemo'),
          elevation: 0.0,
        ),
        body:CounterHome(),
        floatingActionButton: ConterActionButton(),
        )
    );
  }
}

  